package com.itheima.demo1;

public class Tv extends Dianqi{
    public Tv() {
    }

    public Tv(String pinpai, String xinghao, String color, int price) {
        super(pinpai, xinghao, color, price);
    }
    public void work(){
        System.out.println(super.getPinpai()+"品牌,型号为"+super.getXinghao()+"颜色"+super.getColor()+"售价为:"+super.getPrice());
    }
    public void seeSmallPieces(){
        System.out.println("看片看片");
    }
}
